package cn.mifengkong.appcommon.moxie;

/**
 * Created by jiangyongxing on 2018/1/22.
 * 描述：
 */

public class ImportTaskCancelEvent {

    private String cardId;
    private String errorMessage;
    private boolean cancelEmailImport;

    public ImportTaskCancelEvent() {
    }

    public boolean isCancelEmailImport() {
        return cancelEmailImport;
    }

    public ImportTaskCancelEvent(boolean cancelEmailImport) {
        this.cancelEmailImport = cancelEmailImport;
    }

    public ImportTaskCancelEvent(String cardId) {
        this.cardId = cardId;
    }

    public ImportTaskCancelEvent(String cardId, String message) {
        this.cardId = cardId;
        this.errorMessage = message;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
}
